method
util.CustomPromisifyLegacy.[Symbol.hasInstance]
value: any
): boolean;
Determines whether the given value inherits from this function if this function was used as a constructor function.
A constructor function can control which objects are recognized as its instances by 'instanceof' by overriding this method.